<cfif len(thisTag.generatedContent)>
	<cfparam name="config.text" default="#thisTag.generatedContent#"/>
<cfelse>
	<cfparam name="config.text" default="#replaceList(attributes.name,'_',' ')#"/>
</cfif>
<cfif config.showButtons>
	<cfset config.cancels[arrayLen(config.cancels)+1] = structNew()/>
	<cfset button = config.cancels[arrayLen(config.cancels)]/>
	<cfset button.text = config.text/>
	<cfloop collection="#attributes#" item="attribute">
		<cfif not listFindNoCase(excludes,attribute)>
			<cfset button[attribute] = attributes[attribute]/>
		</cfif>
	</cfloop>
<cfelse>
	<cfinclude template="../#config.parent#/#tag#.cfm"/>
</cfif>